package com.badlogic.androidgames.framework;

import android.graphics.Matrix;
import android.graphics.Paint;

public interface Graphics {
	public static enum PixmapFormat {
		ARGB8888, ARGB4444, RGB565
	}

	public Pixmap newPixmap(String fileName, PixmapFormat format);

	public void clear(int color);

	public void drawPixel(int x, int y, int color);

	public void drawLine(int x, int y, int x2, int y2, int color);

	public void drawRect(int x, int y, int width, int height, int color);

	public void drawPixmap(Pixmap pixmap, int x, int y, int srcX, int srcY,
			int srcWidth, int srcHeight);

	public void drawPixmap(Pixmap pixmap, float x, float y, int srcX, int srcY,
			int srcWidth, int srcHeight);

	public void drawPixmap(Pixmap pixmap, int x, int y);

	public void drawText(String text, int x, int y, Paint paint);
	
	public void drawVehicle(Pixmap image,float x , float y,Matrix matrix);
	
	public int getWidth();

	public int getHeight();

	public void drawRect(float x, float y, int totalBlood, int height, int blue);
}
